package com.yuelao.yuelao_backend.entity.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum RelationshipStatus {
    ACTIVE("ACTIVE", "生效中"),
    PENDING("PENDING", "待处理"), // 为好友请求等功能预留
    REJECTED("REJECTED", "已拒绝"); // 为好友请求等功能预留

    @EnumValue
    @JsonValue
    private final String value;
    private final String description;

    RelationshipStatus(String value, String description) {
        this.value = value;
        this.description = description;
    }
}